using System.Collections.Generic;

namespace Framework.DataTable
{
    public interface IDataTableProcessor
    {
        /// <summary>
        /// 当前文件的类型
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        FileType GetFileType(string path);
        /// <summary>
        /// 当前数据表的目录
        /// </summary>
        /// <returns></returns>
        string GetWatchDirectory();
        DataParserConfig GetParser(string type);
        //获取字段定义的类型
        string GetFieldType(string type);
        void Setup(BuildContext context);
        void BuildCode(ProcessData data);
        void BuildData(ProcessData data);
        void Cleanup(BuildContext context, ProcessData data);

    }
}